const getters = {
    token: state => state.user.token,
    avatar: state => state.user.avatar,
    userName: state => state.user.userName,
    userInfo: state => state.user.userInfo,
    roles: state => state.user.roles,
    user: state => state.user,


    app: state => state.app,
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,

    visitedViews: state => state.tagsView.visitedViews
//   permissionRoutes: state => state.permission.routes
}

export default getters